package com.lxmes.device.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 设备故障列表对象 device_failure_info
 *
 * @author ruoyi
 * @date 2022-11-29
 */
public class DeviceFailureInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String factoryName;

    /** 公司代码 */
    @Excel(name = "公司代码")
    private String factoryCode;

    /** 报修单号 */
    @Excel(name = "报修单号")
    private String reportId;

    /** 设备编码 */
    @Excel(name = "设备编码")
    private String deviceCode;

    /** 报修人 */
    @Excel(name = "报修人")
    private String reportName;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String reportPhone;

    /** 发生时间 */
    @Excel(name = "发生时间")
    private String occurrenceTime;

    /** 是否停机 */
    @Excel(name = "是否停机")
    private String isShutDown;

    /** 停机时长 */
    @Excel(name = "停机时长")
    private String shutdownDuration;

    /** 故障描述 */
    @Excel(name = "故障描述")
    private String faultDescription;

    /** 故障图片 */
    @Excel(name = "故障图片")
    private String faultImg;

    /** 报修语音 */
    @Excel(name = "报修语音")
    private String reportVoice;

    /** 紧急程度 */
    @Excel(name = "紧急程度")
    private String faultUrgency;

    /** 故障等级 */
    @Excel(name = "故障等级")
    private String faultLevel;

    /** 故障类别 */
    @Excel(name = "故障类别")
    private String faultType;

    /** 处理进度 0-待接单1-待执行2-维修中3-待评价4-完成5-驳回 */
    @Excel(name = "处理进度 0-待接单1-待执行2-维修中3-待评价4-完成5-驳回")
    private String faultProgress;

    /** 维修单位代码 */
    @Excel(name = "维修单位代码")
    private String repairComCode;

    /** 维修单位名称 */
    @Excel(name = "维修单位名称")
    private String repairComName;

    /** 维修班组 */
    @Excel(name = "维修班组")
    private String repairTeam;

    /** 主修人 */
    @Excel(name = "主修人")
    private String major;

    /** 主修人id */
    @Excel(name = "主修人id")
    private Long majorId;

    /** 辅助维修人 */
    @Excel(name = "辅助维修人")
    private String fzMajor;

    /** 辅助维修人id */
    @Excel(name = "辅助维修人id")
    private String fzMajoId;

    /** 开始时间 */
    @Excel(name = "开始时间")
    private String startTime;

    /** 结束时间 */
    @Excel(name = "结束时间")
    private String endTime;

    /** 维修用时 */
    @Excel(name = "维修用时")
    private String repairTimeuse;

    /** 维修费用 */
    @Excel(name = "维修费用")
    private BigDecimal repairCosts;

    /** 工时定额 */
    @Excel(name = "工时定额")
    private BigDecimal timQuota;

    /** 维修类别 */
    @Excel(name = "维修类别")
    private String repairType;

    /** 维修级别 */
    @Excel(name = "维修级别")
    private String repairLevel;

    /** 维修描述 */
    @Excel(name = "维修描述")
    private String repairDescription;

    /** 维修图片 */
    @Excel(name = "维修图片")
    private String repairImg;

    /** 配件单号 */
    @Excel(name = "配件单号")
    private String partsNo;

    /** 配件费用 */
    @Excel(name = "配件费用")
    private BigDecimal partsCosts;

    /** 维修结果 */
    @Excel(name = "维修结果")
    private String repairResult;

    /** 维修评分0-1-2-3-4-5 */
    @Excel(name = "维修评分0-1-2-3-4-5")
    private String repairScore;

    /** 评价 */
    @Excel(name = "评价")
    private String repairEvaluate;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setFactoryName(String factoryName)
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName()
    {
        return factoryName;
    }
    public void setFactoryCode(String factoryCode)
    {
        this.factoryCode = factoryCode;
    }

    public String getFactoryCode()
    {
        return factoryCode;
    }
    public void setReportId(String reportId)
    {
        this.reportId = reportId;
    }

    public String getReportId()
    {
        return reportId;
    }
    public void setDeviceCode(String deviceCode)
    {
        this.deviceCode = deviceCode;
    }

    public String getDeviceCode()
    {
        return deviceCode;
    }
    public void setReportName(String reportName)
    {
        this.reportName = reportName;
    }

    public String getReportName()
    {
        return reportName;
    }
    public void setReportPhone(String reportPhone)
    {
        this.reportPhone = reportPhone;
    }

    public String getReportPhone()
    {
        return reportPhone;
    }
    public void setOccurrenceTime(String occurrenceTime)
    {
        this.occurrenceTime = occurrenceTime;
    }

    public String getOccurrenceTime()
    {
        return occurrenceTime;
    }
    public void setIsShutDown(String isShutDown)
    {
        this.isShutDown = isShutDown;
    }

    public String getIsShutDown()
    {
        return isShutDown;
    }
    public void setShutdownDuration(String shutdownDuration)
    {
        this.shutdownDuration = shutdownDuration;
    }

    public String getShutdownDuration()
    {
        return shutdownDuration;
    }
    public void setFaultDescription(String faultDescription)
    {
        this.faultDescription = faultDescription;
    }

    public String getFaultDescription()
    {
        return faultDescription;
    }
    public void setFaultImg(String faultImg)
    {
        this.faultImg = faultImg;
    }

    public String getFaultImg()
    {
        return faultImg;
    }
    public void setReportVoice(String reportVoice)
    {
        this.reportVoice = reportVoice;
    }

    public String getReportVoice()
    {
        return reportVoice;
    }
    public void setFaultUrgency(String faultUrgency)
    {
        this.faultUrgency = faultUrgency;
    }

    public String getFaultUrgency()
    {
        return faultUrgency;
    }
    public void setFaultLevel(String faultLevel)
    {
        this.faultLevel = faultLevel;
    }

    public String getFaultLevel()
    {
        return faultLevel;
    }
    public void setFaultType(String faultType)
    {
        this.faultType = faultType;
    }

    public String getFaultType()
    {
        return faultType;
    }
    public void setFaultProgress(String faultProgress)
    {
        this.faultProgress = faultProgress;
    }

    public String getFaultProgress()
    {
        return faultProgress;
    }
    public void setRepairComCode(String repairComCode)
    {
        this.repairComCode = repairComCode;
    }

    public String getRepairComCode()
    {
        return repairComCode;
    }
    public void setRepairComName(String repairComName)
    {
        this.repairComName = repairComName;
    }

    public String getRepairComName()
    {
        return repairComName;
    }
    public void setRepairTeam(String repairTeam)
    {
        this.repairTeam = repairTeam;
    }

    public String getRepairTeam()
    {
        return repairTeam;
    }
    public void setMajor(String major)
    {
        this.major = major;
    }

    public String getMajor()
    {
        return major;
    }
    public void setMajorId(Long majorId)
    {
        this.majorId = majorId;
    }

    public Long getMajorId()
    {
        return majorId;
    }
    public void setFzMajor(String fzMajor)
    {
        this.fzMajor = fzMajor;
    }

    public String getFzMajor()
    {
        return fzMajor;
    }
    public void setFzMajoId(String fzMajoId)
    {
        this.fzMajoId = fzMajoId;
    }

    public String getFzMajoId()
    {
        return fzMajoId;
    }
    public void setStartTime(String startTime)
    {
        this.startTime = startTime;
    }

    public String getStartTime()
    {
        return startTime;
    }
    public void setEndTime(String endTime)
    {
        this.endTime = endTime;
    }

    public String getEndTime()
    {
        return endTime;
    }
    public void setRepairTimeuse(String repairTimeuse)
    {
        this.repairTimeuse = repairTimeuse;
    }

    public String getRepairTimeuse()
    {
        return repairTimeuse;
    }
    public void setRepairCosts(BigDecimal repairCosts)
    {
        this.repairCosts = repairCosts;
    }

    public BigDecimal getRepairCosts()
    {
        return repairCosts;
    }
    public void setTimQuota(BigDecimal timQuota)
    {
        this.timQuota = timQuota;
    }

    public BigDecimal getTimQuota()
    {
        return timQuota;
    }
    public void setRepairType(String repairType)
    {
        this.repairType = repairType;
    }

    public String getRepairType()
    {
        return repairType;
    }
    public void setRepairLevel(String repairLevel)
    {
        this.repairLevel = repairLevel;
    }

    public String getRepairLevel()
    {
        return repairLevel;
    }
    public void setRepairDescription(String repairDescription)
    {
        this.repairDescription = repairDescription;
    }

    public String getRepairDescription()
    {
        return repairDescription;
    }
    public void setRepairImg(String repairImg)
    {
        this.repairImg = repairImg;
    }

    public String getRepairImg()
    {
        return repairImg;
    }
    public void setPartsNo(String partsNo)
    {
        this.partsNo = partsNo;
    }

    public String getPartsNo()
    {
        return partsNo;
    }
    public void setPartsCosts(BigDecimal partsCosts)
    {
        this.partsCosts = partsCosts;
    }

    public BigDecimal getPartsCosts()
    {
        return partsCosts;
    }
    public void setRepairResult(String repairResult)
    {
        this.repairResult = repairResult;
    }

    public String getRepairResult()
    {
        return repairResult;
    }
    public void setRepairScore(String repairScore)
    {
        this.repairScore = repairScore;
    }

    public String getRepairScore()
    {
        return repairScore;
    }
    public void setRepairEvaluate(String repairEvaluate)
    {
        this.repairEvaluate = repairEvaluate;
    }

    public String getRepairEvaluate()
    {
        return repairEvaluate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryName", getFactoryName())
            .append("factoryCode", getFactoryCode())
            .append("reportId", getReportId())
            .append("deviceCode", getDeviceCode())
            .append("reportName", getReportName())
            .append("reportPhone", getReportPhone())
            .append("occurrenceTime", getOccurrenceTime())
            .append("isShutDown", getIsShutDown())
            .append("shutdownDuration", getShutdownDuration())
            .append("faultDescription", getFaultDescription())
            .append("faultImg", getFaultImg())
            .append("reportVoice", getReportVoice())
            .append("faultUrgency", getFaultUrgency())
            .append("faultLevel", getFaultLevel())
            .append("faultType", getFaultType())
            .append("faultProgress", getFaultProgress())
            .append("repairComCode", getRepairComCode())
            .append("repairComName", getRepairComName())
            .append("repairTeam", getRepairTeam())
            .append("major", getMajor())
            .append("majorId", getMajorId())
            .append("fzMajor", getFzMajor())
            .append("fzMajoId", getFzMajoId())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("repairTimeuse", getRepairTimeuse())
            .append("repairCosts", getRepairCosts())
            .append("timQuota", getTimQuota())
            .append("repairType", getRepairType())
            .append("repairLevel", getRepairLevel())
            .append("repairDescription", getRepairDescription())
            .append("repairImg", getRepairImg())
            .append("partsNo", getPartsNo())
            .append("partsCosts", getPartsCosts())
            .append("repairResult", getRepairResult())
            .append("repairScore", getRepairScore())
            .append("repairEvaluate", getRepairEvaluate())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
